package com.spa.application.query.member;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

@Data
public class LoginQuery {

    @NotBlank(message = "手机号不能为空")
    @Size(min = 11, max = 11, message = "手机号只能为11位")
    private String phone;

    @NotBlank(message = "验证码不能为空")
    private String smsCode;

    @NotBlank(message = "来源必填")
    private String source;

    @NotBlank(message = "授权code必填")
    private String code;

}
